home *** CD-ROM | disk | FTP | other *** search
- Path: news.bellglobal.com!stupy
- From: stupy@freenet.durham.org (Steve Tupy)
- Newsgroups: comp.lang.c
- Subject: Re: Using own stacks with borlandc
- Date: 30 Jan 1996 20:37:47 GMT
- Organization: Durham Free-Net
- Message-ID: <4elvir$ood@news.bellglobal.com>
- References: <4ef339$24q@thor.atcon.com> <4eisl3$9d2@airdmhor.gen.nz>
- NNTP-Posting-Host: 204.101.165.17
- X-Newsreader: TIN [version 1.2 PL2]
-
- : Turn off stack overflow checking for a start.. umm.. you can assume ds=ss
- : if your own stack is near (ie. short near Stack[1024]). If you don't use
- : near in the declaration (or if you don't use nmalloc()) then turn it off.
-
- Ouch! You would endanger the whole stack checking mechanism in lieu
- of altering the stack size? It is easy to turn it off via pragmas whenever
- you need to without depriving your whole program of this rather handy
- feature, don't you agree?
-
- Take care!
- --
- Steve
-